package easy;

public class a1365_有多少小于当前数字的数字 {

    public int[] smallerNumbersThanCurrent(int[] nums) {
        int []ans=new int[nums.length];
        for (int num : nums) {
            for (int i = 0; i < nums.length; i++) {
                if (num<nums[i]){
                    ans[i]++;
                }
            }
        }
        return  ans;
    }
}
